package game.views;

import hx.layout.VerticalLayout;
import hx.display.DisplayObjectRecycler;
import hx.display.ListView;

/**
 * CD列表视图
 */
class CDListView extends ListView {
	override function onInit() {
		super.onInit();
		this.mouseEnabled = false;
		this.height = 1080;
		this.width = 125 + 110 * 2;
		cast(this.layout, VerticalLayout).gap = 5;
		this.itemRendererRecycler = DisplayObjectRecycler.withClass(CDDisplay);
	}
}
